package com.link.base.base.user.model;

import com.link.core.basic.model.BasicModel;

import java.util.List;

/**
 * QQ && 微信登录
 *
 * @author 曲元涛
 * @date 2019/03/29 17:19
 */
public class ThirdLogin extends BasicModel {

    /**用户ID*/
    private Long userId;
    /**openID*/
    private String openId;             
    /**应用类型*/
    private String appType;            
    /**平台类型*/
    private String platformType;
    /**应用类型数组*/
    private List<String> appTypeList;

    public ThirdLogin() {
    }

    public ThirdLogin(Long userId) {
        this.userId = userId;
    }

    public ThirdLogin(Long userId, String openId, String appType, String platformType) {
        this.userId = userId;
        this.openId = openId;
        this.appType = appType;
        this.platformType = platformType;
    }

    public ThirdLogin(Long userId, String platformType, List<String> appTypeList) {
        this.userId = userId;
        this.platformType = platformType;
        this.appTypeList = appTypeList;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getAppType() {
        return appType;
    }

    public void setAppType(String appType) {
        this.appType = appType;
    }

    public String getPlatformType() {
        return platformType;
    }

    public void setPlatformType(String platformType) {
        this.platformType = platformType;
    }

    public List<String> getAppTypeList() {
        return appTypeList;
    }

    public void setAppTypeList(List<String> appTypeList) {
        this.appTypeList = appTypeList;
    }
}
